<h1>Note editing</h1>


<% form_for :note , :url => { :controller => "notes" , :action => 'update' , :id => @note.id} do |f| %>
  <p>
    <b>content</b><br />
    <%= f.text_area :content %>
  </p>

  <p>
   <b>Visibility to others:</b>
  <!--  <%= f.text_field :visibility %> -->
    <%= f.select 'visibility' , ['visible','invisible'] %>
	<p>
    <%= f.submit "Update" %>
  </p>
<% end %>
